package com.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.entity.ProductCategory;

@Repository
public class ProductCategoryDAO extends BaseDAO<ProductCategory> {

	public ProductCategoryDAO() {
		super(ProductCategory.class);
	}
	
	public List<ProductCategory> findBottom(){
		return this.findByProperty(ProductCategory.SHOW_BOTTOM, true, ProductCategory.CATEGORY_SORT);
	}

}
